<?php
	
		echo " ";
		$this->helpers->html->link('/spanel/', LANG_ON_MAIN_PAGE, "class='button'");
		
		if ($this->backuped)
		{
			echo "<br/><br/>".LANG_RESTORED;
		}
		
		//generated model file
		$this->helpers->html->link('', '', 'name = "model"');
		echo '<br /><br />'.LANG_MODEL." ({$this->data[file_name]}.php)"." <a href = '#'>(".LANG_UP.")</a>";
		$this->helpers->htmlx->DisplayHighlightedFile("././app/models/".$this->data[file_name].'.php');

		//generated controller file
		$this->helpers->html->link('', '', 'name = "controller"');
		echo '<br />'.LANG_CONTROLLER." ({$this->data[file_name]}.php)"." <a href = '#'>(".LANG_UP.")</a>";
		$this->helpers->htmlx->DisplayHighlightedFile("././app/controllers/".$this->data[file_name].'.php');		
		echo '<br />';
		
		//generated add page file
		$this->helpers->html->link('', '', 'name = "add_page"');
		echo '<br />'.LANG_ADD." <a href = '#'>(".LANG_UP.")</a>";
		$this->helpers->htmlx->DisplayHighlightedFile("././app/views/".$this->data[file_name].'/add.php');		
		echo '<br />';

		//generated edit page file
		$this->helpers->html->link('', '', 'name = "edit_page"');
		echo '<br />'.LANG_EDIT." <a href = '#'>(".LANG_UP.")</a>";
		$this->helpers->htmlx->DisplayHighlightedFile("././app/views/".$this->data[file_name].'/edit.php');		
		echo '<br />';

		//generated view page file
		$this->helpers->html->link('', '', 'name = "view_page"');
		echo '<br />'.LANG_VIEW." <a href = '#'>(".LANG_UP.")</a>";
		$this->helpers->htmlx->DisplayHighlightedFile("././app/views/".$this->data[file_name].'/view.php');		
		echo '<br />';
		
		//generated delete page file
		$this->helpers->html->link('', '', 'name = "delete_page"');
		echo '<br />'.LANG_DELETE." <a href = '#'>(".LANG_UP.")</a>";
		$this->helpers->htmlx->DisplayHighlightedFile("././app/views/".$this->data[file_name].'/delete.php');		
		echo '<br />';
		
		//generated list page file
		$this->helpers->html->link('', '', 'name = "index_page"');
		echo '<br />'.LANG_LIST." <a href = '#'>(".LANG_UP.")</a>";
		$this->helpers->htmlx->DisplayHighlightedFile("././app/views/".$this->data[file_name].'/index.php');		
		echo '<br />';
				

		//generated stored procedures
		$this->helpers->html->TableOpen('class = "eva"');

			foreach ($this->procedures as $key=>$value)
			{
				$this->helpers->htmlx->TextareaRow($key." <a href = '#'>(".LANG_UP.")</a><a name = '$key'></a>", "stored_procedures[$key]", $value, 'id="generated_'.$key.'" name="content" style="height: 450px; width: 100%;"');				
				echo "<tr><td colspan = '3'><hr /></td></tr>";
			}
		$this->helpers->html->TableClose("");
	
		echo " ";
		$this->helpers->html->link('/spanel/', LANG_ON_MAIN_PAGE, "class='button'");
		echo "<br/>";
?>